#ifndef particle_hpp
#define particle_hpp

#include "main.hpp"
#include <list>

class ParticleState
{
    public:
        int color;
        float angle;
        int size;
};

class Particle
{
    public:
        sPoint position;
        sPoint speed;

        ParticleState current;
        ParticleState change;

        float changeDuration;

        void CalculateChangePerSecond();
};

class ParticleSystem
{
    public:
        std::list <Particle> particleList;

        void Update(float dt);
};

#endif
